/**
 * 标记节假日
 */
let MarkDate={
		
	getMarkDate:function(selYear,dates){
		 let chinaDate = [];
		for(let i =0;i<selYear.length;i++){
		    
			  
			   let nowClose = parseFloat(selYear[i][1]);
		let date = dates[i].split("-");
		let lunar = solarlunar.solar2lunar(date[0],date[1],date[2]);
		//元旦
		if(date[1]=="01" && chinaDate.length==0){
						  var node = {};
						  node.value='元旦';
						  node.xAxis = dates[i];
						  node.yAxis=nowClose;
						  node.itemStyle={color:"rgba(0,0,0,0.5)"};
						   chinaDate.push(node);
		}
		//春节后
		if(lunar.monthCn=="正月" && !chinaDate[1]){
						  var node = {};
						  node.value="春节";
						  node.xAxis = dates[i];
						  node.yAxis=nowClose;
						  node.itemStyle={color:"rgba(0,0,0,0.5)"};
						   chinaDate.push(node);
		}
		//清明
		if(date[1]=="04" && date[2]>"04" && !chinaDate[2]){
						  var node = {};
						  node.value='清明';
						  node.xAxis = dates[i];
						  node.yAxis=nowClose;
						  node.itemStyle={color:"rgba(0,0,0,0.5)"};
						   chinaDate.push(node);
		}
		//劳动
		if(date[1]=="05"  && !chinaDate[3]){
						  var node = {};
						  node.value='劳动';
						  node.xAxis = dates[i];
						  node.yAxis=nowClose;
						  node.itemStyle={color:"rgba(0,0,0,0.5)"};
						   chinaDate.push(node);
		}
		
		//端午
		if(lunar.monthCn=="五月" && lunar.lDay>5 && !chinaDate[4]){
						  var node = {};
						  node.value="端午";
						  node.xAxis = dates[i];
						  node.yAxis=nowClose;
						  node.itemStyle={color:"rgba(0,0,0,0.5)"};
						   chinaDate.push(node);
		}
		//中秋
		if(lunar.monthCn=="八月" && lunar.lDay>15 && !chinaDate[5]){
						  var node = {};
						  node.value="中秋";
						  node.xAxis = dates[i];
						  node.yAxis=nowClose;
						  node.itemStyle={color:"rgba(0,0,0,0.5)"};
						   chinaDate.push(node);
		}
		//国庆
		if(date[1]=="10"  && !chinaDate[6]){
						  var node = {};
						  node.value='国庆';
						  node.xAxis = dates[i];
						  node.yAxis=nowClose;
						  node.itemStyle={color:"rgba(0,0,0,0.5)"};
						   chinaDate.push(node);
		
		
		}
	}
	return chinaDate;
	}
}